﻿using Models.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using yymbDAL;

namespace yymbBLL
{
   public class PsdataManger
    {
        private PsdataService db;
        public PsdataManger()
        {
            db = new PsdataService();
        }
        /// <summary>
        /// 个人信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public bool informations(Information information)//保存修改
        {
            return db.informations(information);
        }


        /// <summary>
        /// 注册信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public bool users(User user)//保存修改
        {
            return db.users(user);
        }
        /// <summary>
        /// 学历信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public bool educations(Education education)//保存修改
        {
            return db.educations(education);
        }

        /// <summary>
        /// 职业信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public bool occupations(Occupation occupation)//保存修改
        {
            return db.occupations(occupation);
        }
        /// <summary>
        /// 个性标签
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public List<Personality_tag> personality_Tag(int id)
        {
            return db.personality_Tag(id);
        }
    }
}
